package com.diploma.project.aiqiyi.dao;

import com.diploma.project.aiqiyi.model.Video;
import com.diploma.project.aiqiyi.plugin.CommonMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VideoDao extends CommonMapper<Video> {
    List<Video> selectUserVideos(@Param("userId") Integer userId, @Param("deviceId") String deviceId, @Param("type") Integer type);

    List<Video> selectByRandom(Integer limit);
}